package cn.zhou;

import cn.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Description:
 * @Author: zhou
 * @Date: Create in 14:43 2020/7/20
 */
@SpringBootApplication
@EnableEurekaClient
//指明访问的服务CLOUD-PAYMENT-SERVICE，和指定了负载均衡策略
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE", configuration = MySelfRule.class)  测试自己编写算法
public class OlderMain80 {
    public static void main(String[] args) {
        SpringApplication.run(OlderMain80.class,args);
    }
}
